package com.iplay.thezen.observer;

import java.util.Observable;

/**
 * @author dangwu
 * @since 2021/9/23 5:37 下午
 */
public class Client {
    public static void main(String[] args) {
        ConcreteSubject subject = new ConcreteSubject();
        Observer obs = new ConcreteObserver();
        subject.addObserver(obs);
        subject.doSomething();
//        java.util.Observable;
//        java.util.Observer

    }
}
